﻿#include "StdAfx.h"
#include "Mean.h"


Mean::Mean(void)
{
}


Mean::~Mean(void)
{
}
BOOL Mean::mean(HWND hMean, LPTSTR szWord, LPTSTR dictName, LPTSTR dicType)
{
	DBProc dbAccess;
	_bstr_t buffer = "";
	buffer +=szWord;
	buffer +="\n";
	buffer +=dbAccess.GetMeanOfWord(szWord, dictName, dicType);
	
 	SetWindowText(hMean,buffer);
	return TRUE;//cho nao
}
	